import {ApiItem} from "./apis";

export const getApiWithPrefix = (api:ApiItem,prefix:string) => {
    if(prefix) api.url += prefix;
    return api;
}